﻿@using Resources;
@{   
   // Layout = "~/Views/Shared/Layaout/general/_LayoutPopGeneral.cshtml";
    Layout = "~/Views/Shared/Layaout/general/_LayoutGeneralTabV2.cshtml";        
}

<script type="text/javascript">
    $(function () {
        $("#tabs").tabs({
            beforeLoad: function (event, ui) {
                ui.jqXHR.error(function () {
                ui.panel.html("Cargando....");
                });
            }
        });
    });   
</script>
<input  type="hidden" id="nIdePersona"  value="@ViewBag.nIdePersonaCSM"  />
<div id="tabs">
  <ul>
    <li>@Html.ActionLink("Datos Personales","../../Persona/MantePerson/regDatosPersonaInp", new {nIdePersonaCSM=@ViewBag.nIdePersonaCSM,swReg=ViewBag.swReg})</li>
    @*<li>@Html.ActionLink("Dirección","../../Persona/MantePerson/regDireccionPersonaInp", new {nIdePersona=@ViewBag.nIdePersonaCSM,swReg=ViewBag.swReg}) </li>
    <li>@Html.ActionLink("Academica","../../Persona/MantePerson/regAcademicaPersonaInp", new {nIdePersona=@ViewBag.nIdePersonaCSM,swReg=ViewBag.swReg})</li>
    <li>@Html.ActionLink("Socioeconómica y Social","../../Persona/MantePerson/regDatosSocioEconomicos", new {nIdePersona=@ViewBag.nIdePersonaCSM,swReg=ViewBag.swReg})</li>
    <li>@Html.ActionLink("Laboral","../../Persona/MantePerson/regDatosLaborales", new {nIdePersona=@ViewBag.nIdePersonaCSM,swReg=ViewBag.swReg})</li> 
    <li>@Html.ActionLink("Beneficios","../../Persona/MantePerson/regDatosBeneficios", new {nIdePersona=@ViewBag.nIdePersonaCSM,swReg=ViewBag.swReg})</li>*@     
  </ul>  
</div>
<br />
<input type="button" value="Nueva Persona" style="width:100px;" onclick="javascript: regPersonaNaturalPop('0',this);" />